package com.founder.bdyx.modules.sys.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "bat_common_fieldparam")
public class CommonDict {
    @Id
	@Column(insertable=false)
    private Integer id;

    @Column(name = "tname")
    private String tname;

    @Column(name = "cname")
    private String cname;

    @Column(name = "ckey")
    private Integer ckey;

    @Column(name = "cval")
    private String cval;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Integer getCkey() {
        return ckey;
    }

    public void setCkey(Integer ckey) {
        this.ckey = ckey;
    }

    public String getCval() {
        return cval;
    }

    public void setCval(String cval) {
        this.cval = cval;
    }

    @Override
    public String toString() {
        return "CommonDict{" +
                "id=" + id +
                ", tname='" + tname + '\'' +
                ", cname='" + cname + '\'' +
                ", ckey=" + ckey +
                ", cval=" + cval +
                '}';
    }
}